
.ui-tab {

  &.radius {
    .ui-tab-header-item {
      border-top-left-radius: $base-radius;
      border-top-right-radius: $base-radius;
    }
  }

  .ui-tab-header {
    @include clearfix;
    margin: 0;
    list-style: none;
    padding: 0;
    border-bottom: 1px solid #ddd;

    .ui-tab-header-item {
      float: left;
      position: relative;
      margin-bottom: -1px;
      padding: 6px 20px 6px;
      margin-right: 3px;
      background: #f4f4f4;
      cursor: pointer;
      text-align: center;
      color: #666;
      height: 33px;
      line-height: normal;
      border: 1px solid transparent;
      border-bottom-color: #ddd;

      &.active {
        background: #fff;
        border: 1px solid #ddd;
        border-bottom: 0;
        color: #00b0e8;
      }
    }
  }

  .ui-tab-body {
    @include clearfix;
    position: relative;
    -webkit-transition: height .3s;
    transition: height .3s;

    .ui-tab-body-item {
      display: none;
      line-height: normal;
      
      &.ui-tab-body-item-active {
        display: block;
      }
    }
  }
}